{template '_header'}
<div class="page-heading">
    <span class="pull-right">
        {ifp 'goods.label.add'}
        <a href="{php echo webUrl('goods/label/add')}" class="btn btn-primary"><i class="fa fa-plus"></i> 添加新标签组</a>
        {/if}
    </span>
    <h2><i class="fa fa-circle-o"></i>标签组管理</h2>
</div>
<ul class="nav nav-arrow-next nav-tabs" id="myTab">
    <li>
        <a href="{php echo webUrl('goods/label')}">标签管理</a>
    </li>
    <li class="active" >
        <a href="{php echo webUrl('goods/label/style')}">设置样式</a>
    </li>
</ul>
<form {ife 'goods' $item}action="" method="post"{/if} class="form-horizontal form-validate" enctype="multipart/form-data" >
<div class="tab-pane  active" id="tab_center">
    <div class="panel-body">
        <div class="form-group">
            <label class="col-sm-2 control-label" style="text-align: right;">商品详情标签样式选择</label>
            <div class="col-sm-9 col-xs-12">
                <div class="row">
                    {ifp 'goods.label.edit'}
                    <div class="col-sm-12">
                        <label class="radio-inline">
                            <input type="radio"  name="style" value="0" {if empty($style['style'])} checked="checked"{/if} />样式一
                        </label>
                        <label class="radio-inline">
                            <input type="radio"  name="style" value="1" {if $style['style'] ==1} checked="checked"{/if} /> 样式二
                        </label>
                        <label class="radio-inline">
                            <input type="radio"  name="style" value="2" {if $style['style'] ==2} checked="checked"{/if} />样式三
                        </label>
                        <label class="radio-inline">
                            <input type="radio"  name="style" value="3" {if $style['style'] ==3} checked="checked"{/if} /> 样式四
                        </label>
                        <label class="radio-inline">
                            <input type="radio"  name="style" value="4" {if $style['style'] ==4} checked="checked"{/if} />样式五
                        </label>
                    </div>
                    {else}
                        {if empty($style['style'])}样式一
                            {else if $style['style'] ==1}样式二
                            {else if $style['style'] ==2}样式三
                            {else if $style['style'] ==3}样式四
                            {else if $style['style'] ==4}样式五
                        {/if}
                    {/if}
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"></label>
            <div class="col-sm-9 col-xs-12">
                {ife 'groups.label.edit' $item}
                <div class='panel-body'>
                    <input type="submit"  value="提交" class="btn btn-primary" />
                </div>
                {/if}
            </div>
        </div>

    </div>
</div>
</form>

{template '_footer'}
